inline vector()
{ ; };
inline vector(float x0,float y0,float z0)
{ x=x0; y=y0; z=z0; };
inline vector(float x0,float y0,float z0,float w0)
{ x=x0; y=y0; z=z0; w=w0; };
inline vector(vector &v)
{ *this=v; };
Parameter | Type | Description |
---|---|---|
x0 | float | co-ordinate in X axis |
y0 | float | co-ordinate in Y axis |
z0 | float | co-ordinate in Z axis |
w0 | float | co-ordinate in W axis |
v | vector& | vector to clone |
Creates a new initialized or uninitialized vector.